-
Home
-
ShortPixel Image Optimizer – Optimize Images, Convert WebP & AVIF
-
5.6.3 (latest)
-
Code
-
Classes
- DirectoryModel
Total Complexity |
99 |
Dependencies |
5 |
Dependents |
4 |
Total lines |
543 |
Lines of code |
342 |
Logical lines of code |
187 |
Comment lines |
79 |
Methods |
23 |
Properties |
9 |
Methods 23
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
A |
44 |
13 |
45 |
getFiles() |
A |
48 |
12 |
30 |
check() |
A |
47 |
11 |
40 |
fileFilter() |
A |
50 |
9 |
30 |
getSubDirectories() |
A |
51 |
9 |
27 |
getRelativePath() |
S |
51 |
6 |
28 |
recursiveDelete() |
S |
59 |
6 |
14 |
getFolderSize() |
S |
57 |
4 |
19 |
reverseConstructPath() |
S |
56 |
4 |
17 |
getPermissions() |
S |
61 |
3 |
14 |
constructUsualDirectories() |
S |
60 |
3 |
13 |
exists() |
S |
69 |
3 |
7 |
isSubFolderOf() |
S |
66 |
3 |
9 |
getPermissionRecursive() |
S |
64 |
2 |
11 |
is_readable() |
S |
70 |
2 |
7 |
is_writable() |
S |
70 |
2 |
7 |
is_virtual() |
S |
82 |
1 |
3 |
__toString() |
S |
81 |
1 |
3 |
getName() |
S |
82 |
1 |
3 |
getModified() |
S |
80 |
1 |
3 |
getPath() |
S |
82 |
1 |
3 |
getParent() |
S |
71 |
1 |
6 |
delete() |
S |
80 |
1 |
3 |